<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<input type="button" value="按钮" onclick="alert('按钮点击了')">


<script>
  console.log("内部JS代码执行成功")
</script>


<script src="my.js"></script>
</body>
</html>